import request from '@/utils/request'

// 查询外聘人员费申请列表
export function listExternalStaffFeeApplication(query) {
  return request({
    url: '/reimbursement/ExternalStaffFeeApplication/list',
    method: 'get',
    params: query
  })
}

// 查询外聘人员费申请详细
export function getExternalStaffFeeApplication(id) {
  return request({
    url: '/reimbursement/ExternalStaffFeeApplication/' + id,
    method: 'get'
  })
}

// 新增外聘人员费申请
export function addExternalStaffFeeApplication(data) {
  return request({
    url: '/reimbursement/ExternalStaffFeeApplication',
    method: 'post',
    data: data
  })
}

// 修改外聘人员费申请
export function updateExternalStaffFeeApplication(data) {
  return request({
    url: '/reimbursement/ExternalStaffFeeApplication',
    method: 'put',
    data: data
  })
}

// 删除外聘人员费申请
export function delExternalStaffFeeApplication(id) {
  return request({
    url: '/reimbursement/ExternalStaffFeeApplication/' + id,
    method: 'delete'
  })
}
